<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景图位置</title>
    <style>
        div{
            width: 400px;
            height: 400px;
            background-color: pink;
            background-repeat: no-repeat;

            background-image: url(图片/OIP-C.jpg);
            /* background-position: left top; */
            /* background-position: 0 0; */
            /* background-position: right bottom;*/
            /* background-position: 50px center;
            background-position: 0 100px; */
            /* background-position: bottom; */
             background-position: 100px;
        }
    </style>
</head>
<body>
    <div>div 标签</div>
</body>
</html>
